package cn.fanqinghong.ymcc.constants;

/**
 * FAN
 * 2022/7/21  10:29
 */
public enum  CourseError {
    TEACHER_NOT_EMPTY("4301","讲师必选"),



    COURSE_IS_REGISTER("4312","课程已经被注册")
    ;

    private String code;
    private String message;

    CourseError(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
